package com.letfox.ad.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.ADServingDetailDao;
import com.letfox.ad.model.ADServingDetail;
import com.letfox.ad.service.ADServingDetailService;

@Service
public class ADServingDetailServiceImpl implements ADServingDetailService {
	
	@Autowired
	private ADServingDetailDao adServingDetailDao;

	@Override
	public int deleteByPrimaryKey(String adServingId) {
		return adServingDetailDao.deleteByPrimaryKey(adServingId);
	}

	@Override
	public int insert(ADServingDetail record) {
		return adServingDetailDao.insert(record);
	}

	@Override
	public ADServingDetail selectByPrimaryKey(String adServingId) {
		return adServingDetailDao.selectByPrimaryKey(adServingId);
	}

	@Override
	public int updateByPrimaryKey(ADServingDetail record) {
		return adServingDetailDao.updateByPrimaryKey(record);
	}

}
